import { createRouter, createWebHistory } from 'vue-router';
import Home from '../pages/Home.vue';
import AppNavigation from '../components/AppNavigation.vue';
import AppFooter from '../components/AppFooter.vue';

const routes = [
  {
    name: '全部文章Global-feed',
    path: '/',
    component: Home,
  },
  {       
    name: '注册register',
    path: '/register',
    component: () => import('../pages/Register.vue'),
  }
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
